package com.thomasmoerman.dci2.frw

import org.squeryl.Session
import org.squeryl.adapters._

import org.squeryl.SessionFactory

trait SquerylBootStrapper {
  this: DataSourceComponent => 

  SessionFactory.concreteFactory = Some(() => Session.create(dataSource.getConnection, new MySQLAdapter))
  
}